#include <iostream>
#include <string>
using namespace std;

void SWAP(float *ptr_x, float *ptr_y)
{
	float temp;
	temp = *ptr_x;
	*ptr_x = *ptr_y;
	*ptr_y = temp;
	cout << "SWAP-POWER "<< endl;
}
void SWAP(float &x, float &y)
{
	float temp;
	temp = x;
	x = y;
	y = temp;
	cout << "SWAP-POWER "<< endl;
}
void skrivflyttal(float x, float y)
{
	cout << "(" << x << "," << y << ")" << endl;
}

void SWAP(string &x, string &y)
{
	string temp;
	temp = x;
	x = y;
	y = temp;
	cout << "SWAP-POWER " << endl;

}
void skrivstring(string x, string y)
{
	cout << "(" << x << "," << y << ")" << endl;
}

int main()
{
	float x, y;
	string a, b;
	x = 50;
	y = 3;
	skrivflyttal(x, y);
	SWAP(x, y);
	skrivflyttal(x, y);
	SWAP(&x, &y);
	skrivflyttal(x, y);
	a = "noob";
	b = "tobbe";
	skrivstring(a, b);
	SWAP(a, b);
	skrivstring(a, b);




	cin.get();
	return 0;
}